package com.xm.myapplication.Util;

import android.os.Environment;

import java.io.File;

public class ImageUtil {

    // 压缩后图片文件存储位置
    public static String getCompressPath() {
        String path = Environment.getExternalStorageDirectory().getAbsolutePath() + "/PictureSelector/image/";
        File file = new File(path);
        if (file.mkdirs()) {
            return path;
        }
        return path;
    }
}
